/**
 * Created by Jone on 2016/7/12.
 */
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var ParamSchema = new Schema({
    key: String, //分组标识
    type: String, //显示名称
    required: Boolean, //是否必须
    desc: String, //参数描述
    interfaceId : { type : Schema.Types.ObjectId, ref: 'Interface'},
    createAt:{type: Date, default: Date.now}, //创建时间
    updateAt: {type: Date, default: Date.now} //更新时间
});
exports.Param = mongoose.model('Param', ParamSchema);